﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="adminLevelManageMent.aspx.cs" Inherits="Admin_adminLevelManageMent" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
   <head id="Head1" runat="server">
    <title>无标题页</title>
  <link href="CSS/tables.css" rel="stylesheet" type="text/css" />
    <link href="style/index.css" rel="stylesheet" type="text/css" />
    <link href="style/css.css" rel="stylesheet" type="text/css" />

</head>

<body topmargin ="0" >
    <form id="form1" runat="server">
    <div>
        <table cellSpacing="1" cellPadding="2" border="0" style="margin:5px 0 0 0;" width="98%" align="center">
            <tr>
                <td colspan="3"  style=" font-size:18px; background-color:#006699; text-align:center; height: 18px; color: white;">
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;
                    &nbsp; &nbsp; &nbsp;&nbsp; 权限类型信息管理
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                    <asp:LinkButton ID="LinkButton1" runat="server" Font-Bold="False" Font-Overline="False"
                        Font-Size="12pt" ForeColor="Red" OnClick="LinkButton1_Click">添加新类型</asp:LinkButton></td>
            </tr>
            <tr>
                <td colspan="3" style="height: 19px">
                    <asp:GridView ID="GVAdminLevel" runat="server" HorizontalAlign="Center" Width="100%" AutoGenerateColumns="False" OnRowDeleting="GVAdmin_RowDeleting" OnSelectedIndexChanged="GVAdmin_SelectedIndexChanged" CaptionAlign="Top" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="3">
                        <Columns>
                            <asp:BoundField DataField="ALID" HeaderText="权限ID" SortExpression="AID" />
                            <asp:BoundField DataField="ALNAame" HeaderText="分类名称" SortExpression="ALNAame" />
                            <asp:BoundField DataField="ALText" HeaderText="说明信息" SortExpression="AName" />
                            <asp:CommandField HeaderText="修改" SelectText="修改" ShowSelectButton="True" />
                            <asp:CommandField HeaderText="删除" DeleteText="&lt;div id=&quot;de&quot; onclick=&quot;JavaScript:return confirm('您真的要删除这一行数据吗？删除后将永远不能恢复！！！')&quot;&gt;删除&lt;/div&gt;" ShowDeleteButton="True" />
                        </Columns>
                        <RowStyle Height="20px" ForeColor="#000066" />
                        <HeaderStyle Height="25px" ForeColor="White" BackColor="#006699" Font-Bold="True" />
                        <FooterStyle BackColor="White" ForeColor="#000066" />
                        <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
                        <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
                    </asp:GridView>
                </td>
            </tr>
            <tr>
                <td colspan="3">
                    <webdiyer:aspnetpager id="AspNetPager1" runat="server" custominfohtml="第%CurrentPageIndex%页，共%PageCount%页，每页%PageSize%条"
                        firstpagetext="首页" horizontalalign="Center" lastpagetext="尾页" nextpagetext="下一页"
                        prevpagetext="上一页" showcustominfosection="Right" AlwaysShow="True" OnPageChanged="AspNetPager1_PageChanged"></webdiyer:aspnetpager>
                </td>
            </tr>
        </table>
    
   
    <div runat ="server" id ="update">
        <table cellSpacing="1" cellPadding="2" border="0" style="margin:5px 0 0 0;" width="95%" align="center">
            <tr>
                <td colspan="3"  style=" font-size:18px; background-color:#006699; text-align:center; height: 18px; color: white;">
        <asp:Label ID="lblMessages" runat="server" Text="lblMessages" ForeColor="Red" Visible="False"></asp:Label></td>
            </tr>
            <tr>
                <td colspan="3" style="height: 21px">
                    &nbsp;分类名称：<asp:TextBox ID="txtName" runat="server"></asp:TextBox>
                    &nbsp; &nbsp;&nbsp; &nbsp; 说明信息：<asp:TextBox ID="txtPwd"
                        runat="server" Height="21px" Width="300px"></asp:TextBox>
                    &nbsp; &nbsp; &nbsp;&nbsp;<asp:Button ID="btnUpdate" runat="server" Height="27px" OnClick="btnUpdate_Click" Width="64px" CssClass="update" Text=" ." />
                    <asp:Button ID="bntInsert" runat="server" Height="26px" Visible="False" Width="71px" CssClass="add" OnClick="bntInsert_Click" Text="." /></td>
          
        </table>
    
    </div>
    </div>
    </form>
</body>
</html>
